package cn.zysuyuan.item.entity;

/**
 * @author flypig
 * @version 1.0
 * @date 2019/10/27 19:45
 */

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 设备采集数据表
 */

//@Table(name = "t_newdevice_data")
public class DeviceData implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    private String tSerialNumber;            //设备编号
    private Double tTemperature;                   //空气温度
    private Double tHumidity;                   //空气湿度
    private Double tLightIntensity;                   //光照强度
    private Double tSoilTemperature;                   //土壤温度
    private Double tSoilHumidity;                   //土壤湿度
    private Double tSoilPh;                   //土壤ph值

    private Double  tSoilTemperature01;                   //土壤温度01
    private Double  tSoilTemperature02;                   //土壤温度02
    private Double  tSoilTemperature03;                   //土壤温度03
    private Double  tSoilTemperature04;                   //土壤温度04
    private Double  tSoilTemperature05;                   //土壤温度05
    private Double  tSoilTemperature06;                   //土壤温度06
    private Double  tSoilTemperature07;                   //土壤温度07
    private Double  tSoilTemperature08;                   //土壤温度08
    private Double  tSoilTemperature09;                   //土壤温度09

    private Double  tSoilHumidity01;                   //土壤湿度01
    private Double  tSoilHumidity02;                   //土壤湿度02
    private Double  tSoilHumidity03;                   //土壤湿度03
    private Double  tSoilHumidity04;                   //土壤湿度04
    private Double  tSoilHumidity05;                   //土壤湿度05
    private Double  tSoilHumidity06;                   //土壤湿度06
    private Double  tSoilHumidity07;                   //土壤湿度07
    private Double  tSoilHumidity08;                   //土壤湿度08
    private Double  tSoilHumidity09;                   //土壤湿度09

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date tCreateTime;                   //数据上传时间


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String gettSerialNumber() {
        return tSerialNumber;
    }

    public void settSerialNumber(String tSerialNumber) {
        this.tSerialNumber = tSerialNumber;
    }

    public Double gettTemperature() {
        return tTemperature;
    }

    public void settTemperature(Double tTemperature) {
        this.tTemperature = tTemperature;
    }

    public Double gettHumidity() {
        return tHumidity;
    }

    public void settHumidity(Double tHumidity) {
        this.tHumidity = tHumidity;
    }

    public Double gettLightIntensity() {
        return tLightIntensity;
    }

    public void settLightIntensity(Double tLightIntensity) {
        this.tLightIntensity = tLightIntensity;
    }

    public Double gettSoilTemperature() {
        return tSoilTemperature;
    }

    public void settSoilTemperature(Double tSoilTemperature) {
        this.tSoilTemperature = tSoilTemperature;
    }

    public Double gettSoilHumidity() {
        return tSoilHumidity;
    }

    public void settSoilHumidity(Double tSoilHumidity) {
        this.tSoilHumidity = tSoilHumidity;
    }

    public Double gettSoilPh() {
        return tSoilPh;
    }

    public void settSoilPh(Double tSoilPh) {
        this.tSoilPh = tSoilPh;
    }

    public Date gettCreateTime() {
        return tCreateTime;
    }

    public void settCreateTime(Date tCreateTime) {
        this.tCreateTime = tCreateTime;
    }


    public Double gettSoilTemperature01() {
        return tSoilTemperature01;
    }

    public void settSoilTemperature01(Double tSoilTemperature01) {
        this.tSoilTemperature01 = tSoilTemperature01;
    }

    public Double gettSoilTemperature02() {
        return tSoilTemperature02;
    }

    public void settSoilTemperature02(Double tSoilTemperature02) {
        this.tSoilTemperature02 = tSoilTemperature02;
    }

    public Double gettSoilTemperature03() {
        return tSoilTemperature03;
    }

    public void settSoilTemperature03(Double tSoilTemperature03) {
        this.tSoilTemperature03 = tSoilTemperature03;
    }

    public Double gettSoilTemperature04() {
        return tSoilTemperature04;
    }

    public void settSoilTemperature04(Double tSoilTemperature04) {
        this.tSoilTemperature04 = tSoilTemperature04;
    }

    public Double gettSoilTemperature05() {
        return tSoilTemperature05;
    }

    public void settSoilTemperature05(Double tSoilTemperature05) {
        this.tSoilTemperature05 = tSoilTemperature05;
    }

    public Double gettSoilTemperature06() {
        return tSoilTemperature06;
    }

    public void settSoilTemperature06(Double tSoilTemperature06) {
        this.tSoilTemperature06 = tSoilTemperature06;
    }

    public Double gettSoilTemperature07() {
        return tSoilTemperature07;
    }

    public void settSoilTemperature07(Double tSoilTemperature07) {
        this.tSoilTemperature07 = tSoilTemperature07;
    }

    public Double gettSoilTemperature08() {
        return tSoilTemperature08;
    }

    public void settSoilTemperature08(Double tSoilTemperature08) {
        this.tSoilTemperature08 = tSoilTemperature08;
    }

    public Double gettSoilTemperature09() {
        return tSoilTemperature09;
    }

    public void settSoilTemperature09(Double tSoilTemperature09) {
        this.tSoilTemperature09 = tSoilTemperature09;
    }

    public Double gettSoilHumidity01() {
        return tSoilHumidity01;
    }

    public void settSoilHumidity01(Double tSoilHumidity01) {
        this.tSoilHumidity01 = tSoilHumidity01;
    }

    public Double gettSoilHumidity02() {
        return tSoilHumidity02;
    }

    public void settSoilHumidity02(Double tSoilHumidity02) {
        this.tSoilHumidity02 = tSoilHumidity02;
    }

    public Double gettSoilHumidity03() {
        return tSoilHumidity03;
    }

    public void settSoilHumidity03(Double tSoilHumidity03) {
        this.tSoilHumidity03 = tSoilHumidity03;
    }

    public Double gettSoilHumidity04() {
        return tSoilHumidity04;
    }

    public void settSoilHumidity04(Double tSoilHumidity04) {
        this.tSoilHumidity04 = tSoilHumidity04;
    }

    public Double gettSoilHumidity05() {
        return tSoilHumidity05;
    }

    public void settSoilHumidity05(Double tSoilHumidity05) {
        this.tSoilHumidity05 = tSoilHumidity05;
    }

    public Double gettSoilHumidity06() {
        return tSoilHumidity06;
    }

    public void settSoilHumidity06(Double tSoilHumidity06) {
        this.tSoilHumidity06 = tSoilHumidity06;
    }

    public Double gettSoilHumidity07() {
        return tSoilHumidity07;
    }

    public void settSoilHumidity07(Double tSoilHumidity07) {
        this.tSoilHumidity07 = tSoilHumidity07;
    }

    public Double gettSoilHumidity08() {
        return tSoilHumidity08;
    }

    public void settSoilHumidity08(Double tSoilHumidity08) {
        this.tSoilHumidity08 = tSoilHumidity08;
    }

    public Double gettSoilHumidity09() {
        return tSoilHumidity09;
    }

    public void settSoilHumidity09(Double tSoilHumidity09) {
        this.tSoilHumidity09 = tSoilHumidity09;
    }

    @Override
    public String toString() {
        return "DeviceData{" +
                "id='" + id + '\'' +
                ", tSerialNumber='" + tSerialNumber + '\'' +
                ", tTemperature=" + tTemperature +
                ", tHumidity=" + tHumidity +
                ", tLightIntensity=" + tLightIntensity +
                ", tSoilTemperature=" + tSoilTemperature +
                ", tSoilHumidity=" + tSoilHumidity +
                ", tSoilPh=" + tSoilPh +
                ", tCreateTime=" + tCreateTime +
                '}';
    }
}
